package com.qclix.inv.xml;

import com.qclix.inv.Invoice;

/**
 * Describes methods available to translate to/from XML from/to business objects/XML
 */
public interface XMLTranslator {
    String toXML(Invoice invoice) throws XMLTranslationException;

    Invoice fromXml(String xml) throws XMLTranslationException;
}
